﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nuzzle
{
    public class World
    {
        public static Network.GameClient[] GetGameClients()
        {
            return Network.GameServer.Clients.ToArray();
        }

        public static void Send(Protocol.NetworkMessage message)
        {
            foreach (var c in GetGameClients())
            {
                c.Send(message);
            }
        }
    }
}
